import { ApiProperty } from '@nestjs/swagger';
import { IsNumber } from 'class-validator';

export class CreateTempOrganizationAdminReqDto {
  @ApiProperty({ description: '上级组织id' })
  @IsNumber({}, { message: '上级组织编号格式不正确' })
  readonly parent_id: number;
}
